bug
authorJoey Hess <joeyh@joeyh.name>
Wed, 20 Aug 2025 18:35:27 +0000 (14:35 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 20 Aug 2025 18:35:27 +0000 (14:35 -0400)
doc/bugs/possible_to_enable_encryption_for_exporttree_remote.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/possible_to_enable_encryption_for_exporttree_remote.mdwn b/doc/bugs/possible_to_enable_encryption_for_exporttree_remote.mdwn
new file mode 100644 (file)
index 0000000..7976058
--- /dev/null
@@ -0,0 +1,10 @@
+An exporttree=yes remote cannot be initremoted with encryption enabled.
+However, it is possible to use enableremote after the fact to enable
+encryption for such a remote:
+
+       # git-annex initremote d type=directory exporttree=yes importtree=yes encryption=none directory=../d
+       # git-annex enableremote d  directory=../d encryption=shared
+       enableremote d (encryption setup) (encryption key stored in git repository) ok
+       (recording state in git...)
+
+This config change should not be allowed. --[[Joey]]